package com.wyg.epdata.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

//数据库的数量
@ApiModel("countByDate")
public class CountByDate {
    @ApiModelProperty("date")
    private String date;//日期
    @ApiModelProperty("数量")
    private int sum;

    @Override
    public String toString() {
        return "CountByDate{" +
                "date='" + date + '\'' +
                ", sum=" + sum +
                '}';
    }

    public CountByDate(String date, int sum) {
        this.date = date;
        this.sum = sum;
    }

    public CountByDate() {
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }
}
